added security tests