Add test for report-elements bug
Fix build
Beautify error message
Fixed bug with cardinality.
Merge pull request #374 from 28msec/SequenceOfEntitiesBug

Fixed bug with cardinality.
Corrected test code.
Merge pull request #372 from 28msec/ci

Add test for report-elements bug