Added mocha.opts for testing, changed file format