Test that user's username gets updated.

See commit c95c1f6ba8e77a478e07503cec69a3d232f6f589 and GH #241.
Merge pull request #291 from splattael/test-username-update

Test that user's username gets updated.