samba.getopt: Add some basic tests.