Change the condition on the test for using the cache so it's more resiliant to API changes if it is actually a bug.