Preparing unit tests for #186 (detached rulesets)