Corrected DimensionEqualTest and DimensionEqualCondition
Both now support generics and run correctly