Test Script with appid and secret created