finish tests script