updated tests script