Simple test engine for phantomjs