Test username validation