adding junit tests cases