Update bluebird
Fix tests to be browser compliant