add spec on promise, future and high order functions.