Add tests of filter