move CLI tests into spec/integration