preparing testing data