Added some tests on regexp