user model tests on provider