test: added test for creation of empty index