Added PhantomJS example

Added an example of how to do headless testing with PhantomJS