add pry to dev dependencies
extract repl specs into shared examples
add pry spec