Developer testing
As you develop, you will continually test the design as you implement features and make other changes in accordance with the requirements. At the end of the development phase, and before you turn the application over for user acceptance testing, spend some time seriously challenging the revised application. See if you can break it.
Add diagnostic and repair tools
Especially for existing applications with which you are unfamiliar, create some diagnostic and repair tools that do not interfere with or depend upon any functional components. For example, views that display documents in ways that help you to understand the data can be extremely helpful during development and testing, and also afterward when the design is in production. If test cases fail to produce expected results, diagnostic views can help you locate incorrect documents and provide insight into what went wrong.
If you are aware of data errors which exist in some of the documents, code some agents to repair those...