Changed upload method and added better async sample

Going to move that to mocha tests anyway