write test ping view