verify_certificate should be false when set to false

I botched the previous attempt, setting 'false' would never have worked. I corrected this, and also fixed a mistake in the test.