Fixes test failure on centos machines
Merge pull request #1519 from lukecampbell/registration-r2

Fixes test failure on centos machines R2