Added (incomplete) tests for getting the diff bounds