mocha-phantomjs tests
unit test working