Issue #15301: Enhance os.*chown() testing.  Based on patch by Larry Hastings.
Issue #17248: Fix os.*chown() testing when user has group root.