Javadoc
Additional tests implemented
License header added