Added feature to specify pid by process name.

I added feature to specify pid by process name and tests.