Add remaining test coverage

Fixes a few bugs in the process and cleans a few of the APIs.

1. Clarifies the restrictions on the ridiculeSettings return object
2. Fixes query handling in bailout
3. Prevents side effects from mock registration (mostly only matters for tests)