Add tests for isInRole and getRoles