Test SVD and SVM