Tests complete, javadocs added for them.

-Completed the JUnit tests.
-Added appropriate Javadocs for all the test methods and classes.