Refactored createInstance to not catch errors
Amazing test refactoring with Promises.