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

I guess it would be good if we return an error here (if any) with the callback.