Fixed asynchronous test flow! Now the tests run as expected