Added Register tests.