Tests: Use assertSame() in REST API schema sanitization tests.