Gofmt applied.
Initial tests for ReturnRecordOnErr.