Move integration tests

This is just moving the legacy integration tests into the new cli framework.  This helps us to work on refactoring the core faster because it reduces the areas that we have to update because the integration tests hit private apis.  We need to do this more.