Add filter condition unit tests.