added unit tests for packaging
added missing test for packages loading on app tests