add a test.js file to test the blizzard api