improved testnandsim