changed test authpolicy to activityController