extra test case for #805