changed test for train data