Add tests for parallelGateway