Move contexts from spec to shared example