'Tests `get_index` method returns unit url.'

def test_get_index(self):

    children = self.sequential.children
    self.assertEqual(0, helpers.get_index(unicode(self.vertical.location), children))
    self.assertEqual(1, helpers.get_index(unicode(self.vertical_with_container.location), children))
