Test that no revisions produces an empty response and not an error

Fixes #227