unit testing, fixed bug relating to user nicknames