Adds tests for import errors