added test and how-tested method to register