Add support for PhantomJs tests.

Added a simple PhantomJs test.