Fixed the tests to run in headless mode
Merge pull request #52 from cplim/master

Fixed the tests to run in headless mode for webdriver