draft of reflection based test extractor