added JUnit and WordTest

Added the JUnit library and wrote a test for the class Word