Fixed bug where no tests run with no index supplied.