API interfacing test scripts