Updated test.R to be unit test for import.R