Fixed a bug with creating index
Indexing unit test
Aggregate unit tests