Added unit test for the filtered range scan