Introduced writing of fixture documents and verifying them. Fixes #9