Implemented test extraction.