completed base unittest, fixed method in basemodel