adds tests for csareader.read nitems assertion
RF: slightly refactor csa tests; add test

Make error more explicit for too many items in the csa structure.

Add module global for max items and test