Added test for json and xml marshallers