This is a small framework for automated modifiers testing. Using the provided script, tests can be generated and maintained very easily (which I plan to do if the task is approved).
The attached .blend file shows an example on how to use the framework and generate a test with two modifiers.
It is assumed that the blend file is in blender_build/lib/tests/modeling.