test on both decision tree and svm