change test2-2 and test2-3 regarding promise-based api calls.