Relevant to comments in 7224fbcc89f00f2b71644e36bb1b1d96addd1d5a. Added test cases. Ensured they failed pre-commit. Also tested a range of the altered endpoints manually on both local and s3-like filesystems.