initial version of new frontend tests with phantomjs and casperjs