[boost] [test] Patch to fix serialisation regressions