Added test for the regExp feature