Add integration tests for record listing with pretender