update test runner file to check for phantomJS
- this was breaking our tests in terminal, but not for the browser