Update test to modified API.
Update test to modified API.


trungda/mlpack,chenmoshushi/mlpack,erubboli/mlpack,erubboli/mlpack,thirdwing/mlpack,palashahuja/mlpack,darcyliu/mlpack,minhpqn/mlpack,thirdwing/mlpack,Azizou/mlpack,lezorich/mlpack,palashahuja/mlpack,trungda/mlpack,trungda/mlpack,bmswgnp/mlpack,stereomatchingkiss/mlpack,stereomatchingkiss/mlpack,BookChan/mlpack,minhpqn/mlpack,stereomatchingkiss/mlpack,minhpqn/mlpack,Azizou/mlpack,ranjan1990/mlpack,chenmoshushi/mlpack,BookChan/mlpack,theranger/mlpack,lezorich/mlpack,ranjan1990/mlpack,darcyliu/mlpack,ajjl/mlpack,erubboli/mlpack,datachand/mlpack,bmswgnp/mlpack,theranger/mlpack,Azizou/mlpack,theranger/mlpack,datachand/mlpack,bmswgnp/mlpack,datachand/mlpack,ersanliqiao/mlpack,ranjan1990/mlpack,ajjl/mlpack,ajjl/mlpack,lezorich/mlpack,chenmoshushi/mlpack,thirdwing/mlpack,darcyliu/mlpack,ersanliqiao/mlpack,BookChan/mlpack,ersanliqiao/mlpack,palashahuja/mlpack