Add tests for ping timeout