Adding tests for allowedTransitions