Fix more tests in UserViewTest
Fix more tests in UserViewTest