Testing for Context-Dependence