Added security tests