Fix specialized records
Merge pull request #65 from gzm0/fix-specialized-records

Fix specialized records
Add tests for collections (partial #31)
Merge pull request #63 from gzm0/collection-tests

Add tests for collections (partial #31)