Record and retest for function createRecord
Recode and retest functions in compareRecord.c