unit test for pipeline of 1000 commands