fixing compiling error of incomplete type for Record, trying to write tests for the import of data from the file