added test case for failure condition
added test case for failure condition

ChuyuHsu/ScalaFunctional,EntilZha/PyFunctional,EntilZha/ScalaFunctional,lucidfrontier45/ScalaFunctional,lucidfrontier45/ScalaFunctional,EntilZha/PyFunctional,ChuyuHsu/ScalaFunctional,EntilZha/ScalaFunctional