Fix test for goals history logging.