added unit test for log4net: predicate removal.