fix $log testing