test-parse-options: update to handle negative ints