Better test script