Adds _writeRecordApiFixture and _writeRecordsApiFixture helpers.