Added new dependencies and test cases.

Added JUnit 4 and hamcrest 1.3 dependencies.
Added class for testing delete functionality.