test pure and ap for Result
Merge pull request #49 from cheecheeo/result_tests

test `pure` and `ap` for `Result`