Added tests which can be run with "mocha tests", also added the ability
to return values to the "done" function, which are aggregated and passed
along to the "ready" event