Fix for Travis CI broken import handling for _test