Update cache tests to use JUnit rules. Break out HUC-specific test.