Add rudimentary regex testing