Add test for --languages.
Add tests for -l and --lang.
Use minimist instead of nopt.