Test round-trip