Cover a couple of conditions with unit tests
Enable Unit Test Rules.
Tested by: Waleri Enns