updated the test case for a bug fix