update dependencies
fix tests for phantomjs