Added tests for failure