few unit tests has been added to junit module.