Add acceptance test for function argument flattening (Thanks Nick)