refactors Pry\Command\WhereAmI and corresponding tests