Modified user model and user test

changed profile name format so that it could be formatted correctly and
added a test to so we can have a properly formatted profile name