Philip recommends spiking into unknown code to understand it better and then rewriting the tests from scratch to ensure clarity and maintainability.