Fix unittests
Transform poll_votes to property
Use assign_perm from UserObjectPermission