Added Mockito, added and fixed tests, and improved the PreservationRequest recieval design.