Forgot to add the index to the test function.