Add tests from purescript-either