Added asynchronous test. Need to make it to work.