Modified G assignment in tests