update test_SVM method