Add context for clearing cache and setting config values, Should refactor back into fixtures