added test on driver.js