Fixing the test for rhel6. Re #6621.
Merge branch 'feature/6621_multi_domain_fit' into develop