added test cases using mocha
added readme file