If you need to generate data frequently, you can create an insertData function to generate data, as above, more generically. (or some such.)

I think its important to call out that this is really just an encapsulation of the above method and that you can use it to generate generic test data.