Latest fixes in he packets serializations and test