resolving test case failure