Add integration test for getting lists of records.

This commit also includes the configuration for pretender.