test cache clearing