Added basic unittests for users.py