Moving notes for assertNumQueries next to the other changes to test infrastructure

This corrects my mistake in 5cd6477fd6ea31eeb4d281e8e431b7a5fb8038a1.