Add basic tests for addFilter and removeFilter