Adding a test for cache clearing on adding a location or a residence