moved test data creation into its own class