added tests for sed and cmp