Fix tests for RedHat