Fixed #4866: remove the test code.