Add support for node testing with mocha
Change preset 'algorithm' to support interface assertion