Create a security test on edit