Add jasmine test environment
Reduce spawn rate on demo challenge
Refactor Promise implementation and add tests