Fixed #5704: remove the test codes.