should use const references for items in generic vector class.
simple memory allocation tests for vector class.