logging tests