Add test

upate user的时候如果更新没成功返回409

auth如果传了authorization header, 检查不通过返回401，npm会提示

```
Coverage: 90%
Coverage succeeded.
```