Closes #351 - Create unit test for Scan command

could have a for loop where for the `-r` opt, it tries `-p`,`-e`,`-s`, and `-s -e`.  Could also have a loop for the `-p` opt.  This would try all combos, I think the current test misses some combos.