Updated tests using runs() method for asynchronous calls.