Add PrimitiveVectorSuite and fix bug in resize()