enable pry debugging in tests
add test for #251