adding a unit test for a filter