Creating Selenium IDE test cases. Fixes some bugs.