moving cli tests into same script so breakage stops travis when it occurs