backup: Context fixes for tests
This MR fixes the way contexts are used in tests such that we can properly detect missing tests for feature flags. This uncovers an issue in restoration tests, where atomic repository creation and removal wasn't tested properly.