tests for checkout index with conflicts
checkout (from index) can write conflicts