Add test cases for RegEx