Fixed haddock test output.

- omit extra spaces in list items
- correct line breaks in ghci output