dtd: optional expected makes cleaner roundtrip setups