int comparison rather than string comparison of octal values; zero padding on one but not the other caused spurious mismatch
Removed the mock for config.manage_mode which doesn't seem to be necessary
for any tests to pass but was causing most of the failures for my previous
commit.

Coerced several values to string representations of octal where before they
were sometimes strings and sometimes ints.
Merge pull request #9935 from sbdelisle/develop

int comparison rather than string comparison of octal values; zero paddi...