Add promises.js to test scripts
done() should not be called more than once