Fix a broken test

It broke in #2006, not sure how we missed it. Turns out we did have a test for the logging rule after all. :-)