explaining error in test/index