Issue #2218933: Implement proper goal sending in personalize_test module so that client side goals can be tested