add graph.close and correct position for idx.close in AbstractLocationIndexTest. #33