Haddock on test

Generate Haddock as part of testing