fix timeout, test scripts