Extract test data.