#JC-1869:Unit tests for REadOnlySecurityService
#JC-1869:Unit tests for StatefullPlugin