changes of test2-2 and test2-3 regarding the promise-based api calls.