Simplifying assertions on API integration tests to prevent transient failures.