added test hasPermission