how to generate test data using python