caedefd675
This commit adds tests for this behaviour and also adds support for reseting cache when updating a theme name and destroying a theme.