Simulation for knewton test.