added ListRecords method and test