Tests of two convection theories for red giant and red supergiant envelopes