modify test pattern to support SLF4J version 1.6.x.