Fix failing test.
Update assertions for serializing the document.
Merge branch 'master' of github.com:f3at/feat