added unit tests for the first rule