disabled tests are out of date
unit test the max index function