* fix tests by handling now the return of a promise instead of the result directly