Do not generate tests if disabled.