refactored mint validation tests