An RPA developer needs to perform a code review on a process to ensure best practices were used. During the code review, the developer discovers that the workflows cannot be easily tested and some refactoring of the code is required.
Based on best practices, which approach is recommended?