Added Haskell tests