Add a lot more tests to the shellout implementation.