generate test data is independent with other code.