More testing. Fixed a bug in Registration class thanks to tests!