resolving test case failures