Add some general comparison tests that might exercise optimization paths
Add a test for namespace-sensitive general comparison