Added unit test for identical rule