sh: Add some tests for normal use of getopts.