fix "test" method not cd "current_path"

The "test" method won't cd current_path, if pid is set as a relative path, the "test" method will allways return false. 

Ref: https://github.com/capistrano/sshkit/issues/23