create test for model class user