Added test case for custom rules
Added test case for custom patterns
Added test case for custom date patterns