Implement DNN testing.