Sync import script in beforeTests.js with import script in grasshopper

Since tests will fail anyway I decided to just throw an error.