Add script to run api tests