XD-1135 check for local node transport in SingleNodeApplication

 and refactor SingleNode stream tests