update selenium webdriver for javascript testing, write mock test for a simple link with a click event