Refs #6549: Ensure tests to skip exist to avoid too deep stack.

@ehelms sorry to nitpick, but can you move this comment down to line 18 (above `if test[string]`) since thats what it refers to. Then we're good :)