add horizontalTextAlignment and VerticalTextAlignment for TextObjectRecord
fix some test cases
apply correct serializaiton for CT_Comments and CT_Rst