Tests object graph serialization via jackson-databind