add tests for record filters