Better tests for command runs

This is because we cannot rely on "real" unix command... my bad.