vector class unit tests