Added test cases for the rule