fix for bug in FileAppenderFactory where even if archive is set to true it returns a regulat file appender instead of rolling file appender
Avoid using reflection for testing a private method.

Instead, the method should probably at least be `protected`, which
allows us to override it in the test and make it testable.