evaluate test on training set