fixed basic test script