Use a Json message in tests.