#30 Add unit test for user.py.