Add test exercising username validation.