Improved registration tests.