fix regression tests to accommodate changed emission of shell commands