Fix List and Set containers for work with references
Tests for work ListField and SetField with ReferenceField
Some fixes