added tests for User model methods