unit tests for filters