Test script cleanup