Test cache key uniqueness for scopes

@ronwsmith For your review.  I added this test when you were having issues earlier. Obviously not the problem you had but it is good to ensure key uniqueness anyways.