testing whether temp and Temp cooccur