In progress: work in bw2 index creation and unittests