cleaned up test script