Improved tests to verify scaffold setup alongside generation.