Make tests from examples in Haddock comments.