improvely: fix tests
mocha-phantomjs is awesome :)