added security to tests