How do you implement unit testing for data transformation logic, and what is your approach to debugging failing tests?