Run tests with mocha
(cherry picked from commit 0817752a1c9037026d27f9dc179b61f9e396b695)