Done the mocha testing

start, end works now