Use interface instead of "var" in tests.

No functional changes.
Added TargetHasMoreProperties test set.
Added NotMatchingClasses test set.