correcting test case