Remove error code check in `checkUsernameAsync`
Update test case