Add testing for conf handling of index connection params
Add direct writing option