added unit tests for filters