More fun

- Ensure refs are only backed up when modified
 - Add test to ensure one cannot overlap an existing reference
 - Cleanup the tests