added unit tests for the second rule