add the test case from #16

The test doesn't fail because the roundtrip uses an in memory object and the
metadata is never serialized to JSON.
hacking with nosetest test generators