Create basic Haddock test suite
Fix #13; automate documentation