more approval tests script debugging