Test deprecation in phantomjs and testem