test for issue 8931