Including the mocha testing framework.
Added equals method to instance and included a test case
Fixed rm#markInstanceDead and included testcase