Also, is there a reason we're not mocking all the calls to `validate()` in this unit test? Doesn't seem necessary to use the actual file since we can just construct the appropriate metadata for each test.