hasRole test