Add a test case about #2