test: added test for creation of an empty index