added tests for transition class