Searching on Internet and find a useful slide for beginners with Java Test Tool
JUnit is a testing harness for unit test
Emma is a code coverage tool
You can find how to setup and run these test tool in this slide.
It is simple and easy to apply. Enjoy it by yourself
You can download in link