Added more tests for user model and pages requests