Fix test_get_default_gateway (be sure that there isn't any server)
Fix raise PermissionDenied on delete last server instance. refs #236.