fix some of stupid bugs
add test for Pyenv::InvokeCommand#capture