Fixed some broken longopt and helpers related tests