Create source distro before running tests
Added haddock docs