Improve task template control and expand Blackbox tests
Refactored task template creation and duplication control logic within Helpers, providing more robustness and efficiency. Other adjustments include granular test cases for the Blackbox class, implementing a configuration check for legacy method usage, and enhancing duplicate task detection.