Added a test for cyclic package dependencies
Design review

Removing any package dependency cycle