Testing haskell, learning suntax