1. Minor fixes in pom.xml
2. junit upgraded up to 4.8
3. Unit tests added