updated unit test cases
added some comments
added license badge