Updated tests, added flash messages to registration controller