test for two function : ByteCountLittleEndian and ByteCountBigEndian, and test memory append using MemoryStream