What is your approach to writing automated tests, and how do you maintain high test coverage in continuous integration pipelines?