added encoding test
moved to older log4j