A developer performs a review on a complex process stored in a single .xaml file. During the review, the developer discovers that the workflow cannot be easily tested. Based on best practices, which approach is recommended for improving the ability to independently test components?