added RationalVector equals and hashCode tests