Add test for regexp property as string