fixed logging tests