Added classes and corresponding JUnit test castes to match UML diagram.