Added test for regular expressions