fix issue 268: test for this issue