fix crash, that happens, when headerReferenceSize property is set, and nil returned from supplementary datasource method.

Fix unit tests on mapping.