wrap lines
pipe redirection was wrong
Bug fix in the test case