Test case for complex normalization bug (#999)

This is the test case mentioned in #999 that demonstrates a new bug in plugin normalization.