Added mocha and phantomjs tests and plugins