add user views tests
add tests for views