Passing test cases with JSON and XML representation.