added TransitionTest (missed in previous commit)
added builder and character input for statemachine