Tests for return code marshalling out of command collection.