support "misc31.py" test case on branch