added test code for ssh execution