updated tests considering editor role
adding editor check on publisher
adding editor check on authorization and deletion