CE-377 Fix test to mock static User method