Add issue 631 test case