Adding testing routines for collection unit tests.