Addet test utility to check regex