Add ability to use pry in tests with PRY=true
Add legit checkout regex matching branch checkout