fixed a syntax error and made tests import index instead of copy pasting it -jason