Old tests work with new implementation
Old tests work with new implementation

Old tests work with the new recursive implementation. Old code still
left in as comments.

CCI-Tools/cate-core,CCI-Tools/cate-core,CCI-Tools/ect-core