fix gh-503 if_not_exits option in create index
Merge remote-tracking branch 'origin/fix-gh-503-index-if_not_exists-option'
gh-503: update forgotten tests