Explain your strategy for implementing automated testing in a legacy codebase that currently has no coverage.