update cmdmod integration tests
update cmdmod state calls
split _run cmd