Redmine #3907: add acceptance test for bogus warning about classes bodies that look like functions

See https://cfengine.com/dev/issues/3907