Improved object sanitization integration tests.