Qualcomm Interview Question

How would you design a test for creating a username?