'Test that adding reservations index works correctly.'

def _check_023(self, engine, data):

    reservations = db_utils.get_table(engine, 'reservations')
    index_columns = []
    for idx in reservations.indexes:
        if (idx.name == 'reservations_deleted_expire_idx'):
            index_columns = idx.columns.keys()
            break
    self.assertEqual(sorted(['deleted', 'expire']), sorted(index_columns))
