wrote an extractor for the tests.