extract_test_recent function

Extract test data.