Unit tests for filters