Do not remove tests if shell is actually exiting

- turns out ipshell doesn't terminate at the exit() call so make sure
  to check for the exit_now state when determining if tests should be
  removed from the current selection