added testes for filter class