adapt test-classes to attr global in privilege