added test for indexDriver