Create RecordMapper interface and improve tests (WIP)