Add roundtrip test.