added unit tests for the 4th rule