adding a test spec folder for draw app, fixing typos in draw.js and rearranging methods