FELIX-4790 Make MutablePropertiesTest work with R6 Framework. Rewrote the logic in the test to not depend on the number of service properties present. R6 frameworks add more properties than R4/R5 frameworks.