Added localtest using jsdom and mocha