added untested test cases
added test of the user singleton