fixed startSelenium script, defer getLocation tests (there are different results between travis phantomjs and local)