Include tests for emplace, modify fallback content negotiation logic.
Decouple tests from data source.
Add tests related to error handling.