fixed test deletion role check