Add test case for unused rules