Please see my code where am i wrong as 1 test case is not passing