Rework of the 'test_apm_parameter__register' and 'test_apm_package_instance__new' test cases. Ignored disabled packages in both tests. Check all enabled packages in 'test_apm_package_instance__new', instead of picking just one randomly, so all issues instantiating packages are found at once. Indentation changes.