added tests for contextactivities, group, statement and substatement