finished tests for vector