Added mocha as a dependency. WIll write tests tomorrow.