Added -o option for ping tests.