added scripts to test api