Solving failure test cases.