add tests for ensuring proper behaviour of deletion of referenced and unreferenced projects / packages