Adding tests for allowedTransitions
Merge pull request #1 from pajtai/master

Add tests to allowedTransitions