Validation and verification of medical devices