added command for checking ping, and test thereof