Update testsystem.py

Priority is optional, so it has to be after the mandatory arguments. It will be passed to the scenario player as: scenarioplayer.add_step(when, priority, step)