Try again to make AppVeyor testing consistent

This change reverts previous failed attempts at fixes, and inserts a
sleep in JSON tests before requesting completion data. Hopefully these
8 seconds should be enough to get the helptext consistently.