make use of testing data optional