added a facility to test private classes, and tests for that facility and for some arrays functions