Promises examples + unit-tests
Link to prmises examples added to index.html