added code for testing

this is more usable code than previous versions of testing data