added test for transition context