added a test case for #44