Fix for Issue#308 - added test cases for state machine
Merge branch 'trunk' of git@github.com:impetus-opensource/Kundera.git into trunk