Merge pull request #763 from fcollonval/test/async_handling

Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix