Consumer limits
Forward port of the fix for #13 (closed) from branch 3.5 to master.
Incorporates the tests written for #13 (closed) into the ctest setup.
Forward port of the fix for #13 (closed) from branch 3.5 to master.
Incorporates the tests written for #13 (closed) into the ctest setup.