updated test regex