[fix] Fixed race condition that I had previously implemented
Added test for adding user with invalid characters