Simplify test/serialize.lua