Added registration tests.