added bluebird definitions and tests
override bluebird typedefs