Add JUnit Test Case & commented Log func