Added tests for create index json generation