JUnit Test Cases added.