Check number of elements in collections.
Fix test layout.
Merge pull request #190 from kdeldycke/collection-limit-check

Dangerous is an understatement... it appears it will be totally broken.