start of unit tests for user.py
add some more unit tests for user class