test phantomjs and mutation observer