setted up frontend test with phantomjs, mocha and chai