add test running setup taken from tildeio/rsvp.js