add svm test method