Printing out the details of the passed tests

I saw the result of the test were only printing the first test over and over. I changed the index to match the inner for-loop.