Test successors and predecessors