tests: sed doesn't like escaped chars on non-gnu