Added first test, a test of invalidating the index cache.