More testcases and fix issues for update to Selenium 2.28