Added test for pipelining