Corrected bug in RepresentativesSeq initialization order.
Added tests for RepresentativesSeq.