Adding few unit test for serialization root, adding missing functionility to logging wrong serialization roots