test built file in phantomjs