adding more validation and testing around OnestopID generation