added more index tests, fixed bug in test harness