fix ping example
remove dead code from test shell
more test shell cleanup