1. Added Mockito to build path for mocking during unit tests.
2. Added rule for checking if IllegalArgumentException is thrown during
unit tests.