I wrote the tests for the code that I added, all that code that was covered has been removed and replaced by one method `_getMetadataExtent` which I think is better tested by some sort of `MetadataExtentSpec` which has not been created.