Added unit tests for packages and imports.
Simulate multi-file testing by allowing multiple files in one file.