Added tests for package alias handling