added some svm test code