added spec for Context class.