We should evaluate if it is possible to hook up `doctest` with `common_test`. Maybe [ct_hooks](http://erlang.org/doc/apps/common_test/ct_hooks_chapter.html) can be used for integration.