Added test case for fix