created stronger test case for configuration
added shutdown hook to ssh connections;
added test case for grabbing invalid define instances