add support and tests for multiline commands for shell based adaptors