add traverse tests for context and match