add method security test