Added tests for packages