Finished adding test for Diffing

Fixed a couple of bugs along the way around deadlines and whether the checkLines property should be passed on to functions