Add test to check if connected to the internet.
Improve PyHawk integration.