- added workaround to sleep for 1 second during the test so indexes can be populated