more tests for pipe.wrap
more supported arguments for middleware
0.1.2