proper roundtrip test, somewhat pretty print