Set `ignoreTLS` flag only in test env