test cases

working on integration test cases and ssh testing.
admin integration test

admin integration tests and refining some of the controller tests.