Promises should throw errors with non-callable resolver fn