Added test case for last fix