added a test to UserHelperTest, more fixes