'Test out of bounds previtem() with mode=edge.'

def test_first_edge(self, neighborlist):

    neighborlist._mode = usertypes.NeighborList.Modes.edge
    neighborlist.firstitem()
    assert (neighborlist._idx == 0)
    assert (neighborlist.previtem() == 1)
    assert (neighborlist._idx == 0)
