Add tests to bestindexC.test. No changes to code.