Extend unit test, frozen manifest should not change on share updates
Fix unit test, check manifest state, fix logic errors