[COOK-2119] - test for commands on multiple lines