I'm a little concerned that this test will only work on certain environments. Or your environment would need to be setup correctly. Needs a comment somewhere to tell people earlier that they need to have sed available from the command line. Or even better, but I don't think it is possible would be to check for it's presence in the test and not fail if it isn't available.