Added working tests for import of records