Add server route for user updating, and a test for it

Also some other enhancements in the user test