Improvements to the package importing feature - test case will follow