fixed #3151: remove the test codes