Basic tests for registration.