correct comment
replace use of assert with jc_assert
fix mistake in object serialization code
improve tests: serialize, de-serialize objects and compare with original