testing of the asynchronous code was incorrect → fixed