error in test case corrected