Added basic registration tests.