fixing unit tests for updated sample record structure