Improve test coverage of HTTP API

Yes, it's impossible to test otherwise with a random ID unless we implement a custom "DeepEquals" that ignores that field