Adds tests for Context class

Change-Id: I5b41ea5caaece3b625d6f7690f2a1ce67940b568
Merge "Adds tests for Context class"