Added test cases for forms to test the regex