modifed one of tests scripts