Fixed error checking for getCrossSectionByGroup
Patch to fix copy and paste error
Added several incomplete test files - benchmarks, benchmark framework, and regression testing.