Added JUnit tests for week-3-assignment-2.