Added cache tests.