Fixed some incompatibilities in testing_utils.go and fixed logging system from utils.go