update module to support RedHat. Flesh out unit tests