fixed testing for gengetopt