Implemented a variable providing test condition, including test case.
Moved provided context variable methods to the interface and fixed unit test.