Added test to be sure that nested command execution failures in Groovy scripts are rethrown as exception