Fix for the double squares problem.

The first line of the input was the number of test cases... oops.