Test a multi-statement procedure