How do you ensure your code changes do not introduce regressions when fixing bugs in an existing codebase?