added uts for NullSerializer