Moving all test data to seperate array and then using foreach() statement running everything in nice loop