- unit test adedd.
- some Javadocs added.
- Missing Apache license headers added.
this time, I added the unit test... :)