Better repr for Context objects
added tests for context object