adding tests to XMLSerialization and GSONSerialization