Remove workaround for non-lazy serialize in tests

`serialize` is now lazy, so the workaround is no longer needed.