ported another test case