tests for the filter builder