Tests for wire formats. ResponseConflicted currently failing.

This test runs extremely slow. The Aeson instances of Document should be reviewed to fix this.