Started some unit tests for the cmdmod.py module