Added unit tests for filters