getopt tests passing