renaming triggeredStates to riggeredEvents
converting from expect to should
adding unhandled method and transition tests