added a test case for the previous fix