Added tests for FilterDefinition