tests for context