regex extractor tests