Further improvements to test coverage

Improved test coverage for the following classes

* PackageManager
* Assembly processor (added test cases to TestAssemblyProcessor - capturing edge-cases) 
* TagProcessor (added test cases to TestTagProcessor - capturing edge-cases)