Calum/deletes old docs take 2

Also: the reason it passed on my laptop is because at some stage I had correctly created the index, and because it never got deleted afterwards, it was always correct and ready for the spec.