Adding unit tests for the Filter API.