Improves quality of the Contains() extension method with new tests + fix.