[Security] fix tests for the AbstractVoter
class
#15974
Merged
8000
AbstractVoter
class
#15974