Fixed failing tests.
GH #351 - Added callbacks for self.invoke_async
Merge branch 'dsuch-t-gh351-invoke-async-callbacks'