Fixed testContext

Implemented testContext