Added more tests for filter.pl