* pass some haddock flags to dependencies * add tests * add changelog * fix whitespace * fix test on MacOS