Add test for control bodies declared with parameters.

Do not hit assert on regular bodies assumed to be control bodies.
Do not use mktime in accumulate()