Test fix for history.back() error caused by checkConnection()