Fix two RHEL7 tests