Fixed a minor bug in the ApigeeCollection class and added the ApigeeCollectionTests test case.