Fix bug DNN-5137: remove the test code.