test for issue 8931(with code reformated)