Adding regex check for passport test and few syntax changes.