Fixed logging aspect
Fixed problem with different tests using the same ElementFactory