These are still testing the behavior of the specific file, so I argue that they belong with the test rather than the API.