go: trivial round-trip tester -- needs work for nested types