Add a test case for TraversableContains that checks type-safe comparison.