Refactor tests for main module.  Redhat is default test because it has to be tested on a supported OS family, but all OS specific code is tested per OS.