Update nopt dependency to 2.1.1

Included update to tests that illustrates the reason for updating nopt.