State Machine: added unit tests for Transition