Update class 'Context' and  test case classes.