Updated test case for RecursiveRegexIterator

Don't override the ::accept() so that it can be tested properly.