Structured Validation: Testing Before You Build