added spec test for username validation

These spec tests run through several different usernames to test
the username validation code.