Added code for additional unit test
    modified:   API/api/pub/models/User.php
	modified:   API/api/pub/models/tests/UserTest.php