Only one test case is passing