Fixed AbstractSingleNodeStreamDeploymentIntegrationTests

flipped if/else while merging