More test cases added.
Add the license  javadoc to classes