tests: exercise the new --keep option