Test with PhantomJS. Closes #593
Merge pull request #611 from gzm0/test-phantomjs

Test with PhantomJS. Closes #593