add record repository for test