More tests

Testing multiple transitions and nested states.