Added new test script
Added two imports. This previously failed.
Fixed the segfault on consecutive imports.