Improve the test case introduced by bd0d47e