Run cli tests in travis

Fixes cli tests.