generated uesr model and tests