Run tests on promises using jasmine2 or minijasminenode