Fixed potentially invalid username in tests.