Added testapi script