A test for index undefined and added doc blocks