Added factory muffin to the framework tests

Note that the tests don't run correctly on the current 2.0.x tag. They require changes that will land in the 2.1.0 release.