add functional test for usernames
add functional tests for username feature