Added test for regexp