test range filtering