fully functional stripped down edition. gives same output as chrome's implementation of Promises
Expanded the basic test to add more chained .then() calls