Add mocha and the first test on distance method