Add tests for haskell