Make echo cmd in tests work on OS X