registrar: Move R5Compatibility to test directory. Only the test_registrar uses it now (but maybe this is a leftover that can be removed from it, too?)