Only use certificates if using https in test.js.