Simplify regression tests with assert_cmd crate
#1086
+312
−283
assert_cmd crate
#1086