Add unittests for oonicli.

Allows to programatically run nettests.