[#5] Empty array serialization fix.
Array unit tests.