Fixing the test for rhel6. Re #6621.