Adding a test case for #931