updated with a test case for the issue 92