Raven-Db 1204 index merge suggestion: added tests + fix from prev commit