Changed stepper test code a bit