extract test data