Add a test for --no-check-certificate