refactor log4j 1.x tests
refactor logback tests
Merge pull request #500 from norbertpotocki/tests-improvements

Tests refactoring and cleanup