fix svm tests