test securityService