Fix LogbackConfiguration and add test