begining of testing on simulated data