Ned/tweak pr 24

Needed a few tweaks to the command itself, and added a test.  The test doesn't fail if I remove the /bin/rm command, so it doesn't demonstrate the full problem.  What else can I try to reproduce the problem?