Error messages for registeration + some testing