Added multiple 'from' states to #transition.
Added specs for edge cases when validating states.