Refactoring UserControllerTest by extracting retrival of activation code for email address