Chapter 10. Testing and Logging – Preparing for Bugs