filtering by path unit test