Converted to mocha
Added tests for Promises/A+