Integration tests for some Context functionality