Added checkrole tests