added logging tests