Add a unit test to ensure that gotoState properly passes additional arguments to enteredState and exitedState